package core

import "fyne.io/fyne/v2"

// 最顶层窗口
var TopWin = AppCore.NewWindow("")

var ConfigWindow fyne.Window

// 获取窗口的大小
func GetWindowSize(win fyne.Window) (float32, float32) {
	size := win.Canvas().Size()
	return size.Width, size.Height
}
